﻿using System;
using Jayden.Dll.Web.Enums;
using Jayden.Dll.Web.HtmlControls.Descriptions;
using Jayden.Dll.Web.HtmlControls.Generics;

namespace Jayden.Dll.Web.HtmlControls
{
	public class Nav : HtmlElement
	{
		public Nav() : base(NavDescription.Instance) { }
	}
	public class NavDescription : HtmlElementDescription
	{
		public static readonly NavDescription Instance = new NavDescription();
		private NavDescription() : base("nav", HtmlVersion.Html5) { }
		public override string Description { get { return "section of a document that links to other documents or to parts within the document itself; that is, a section of navigation links."; } }
		public override Type ControlType { get { return typeof(Nav); } }
		public override bool IsFlowElement { get { return true; } }
		public override bool OnlyFlowContent { get { return true; } }
	}
}
